package com.qf.openapi.web.master.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.web.multipart.MultipartFile;

import java.util.Date;

/**
 * 该vo类用于收集用户注册接口传递的参数
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserRegistVo {

    private String username;

    private String password;

    private String sex;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date date;

    // 接收上传文件
    private MultipartFile photo;

    private String captchar;

}
